﻿#include "gtest/gtest.h"

#include "src/myMath/myMath.h"

TEST(mathTest, mathAdd)
{
    EXPECT_EQ(add(2, 3), 5);
    EXPECT_EQ(add(5, 3), 8);
}

TEST(mathTest, mathSub)
{
    EXPECT_EQ(sub(6, 2), 4);
    EXPECT_EQ(sub(2, 6), -4);
}

int main(int argc, char **argv)
{
    ::testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();
}